<template>
    <div class="cashier-info">
      <div class="item">
        <span>日期: {{date}}</span>
      </div>
      <div class="item">
        <span>收银员: {{ name }}</span>
      </div>
      <div class="item">
        <span>单号: {{shopping_no}}</span>
      </div>
    </div>
</template>

<script>
    export default {
        name: "CashierInfo",
      props:['date','shopping_no','name']
    }
</script>

<style scoped>
  .cashier-info{
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 1.5rem;
  }
  .item{
    height: 100%;

  }
</style>
